﻿<%--<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<CRM.Models.TrainingsRequests>>" %>--%>
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<List<CRM.Database.Model.TrainingsRequests>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%: CRM.Resourses.Resourses.RequestsReports%>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2><%: CRM.Resourses.Resourses.RequestsReports%></h2>

<% using (Html.BeginForm("ExportTo", "TC"))
   {%>
    
    <%--<input type="submit" value="Экспорт" />
    <br />--%>
        <button type="submit" value="Экспорт"><%: CRM.Resourses.Resourses.TrainingExportButton%></button>
    <br />
    <br />
    <% Html.RenderPartial("RequestsReportsPartal", Model); %>

 <%}%>

</asp:Content>
